package com.baor.order.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baor.common.annotation.Excel;
import com.baor.common.core.domain.BaseEntity;

/**
 * 维权对象 t_right
 * 
 * @author ruoyi
 * @date 2025-07-18
 */
public class TRight extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 维权id */
    private Long rightId;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 退款方式 0、微信 1、... */
    @Excel(name = "退款方式 0、微信 1、...")
    private Long refundType;

    /** 退款状态 0、未退款 1、已退款 */
    @Excel(name = "退款状态 0、未退款 1、已退款")
    private Long refundStatus;

    /** 维权状态 0、维权结束 1、买家待退货 2、卖家待收货 3、卖家拒绝 */
    @Excel(name = "维权状态 0、维权结束 1、买家待退货 2、卖家待收货 3、卖家拒绝")
    private Long status;

    /** 退款编号 */
    @Excel(name = "退款编号")
    private String refundNo;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String applyTime;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 是否删除 0、未删除 1、已删除 */
    @Excel(name = "是否删除 0、未删除 1、已删除")
    private Long delFlag;

    private String totalPrice;

    private String refundPrice;

    private String finalPrice;

    private String commoIcon;
    private String commoName;

    private Integer buyerId;

    private String refundMoney;

    private String beginTime;
    private String endTime;

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getRefundMoney() {
        return refundMoney;
    }

    public void setRefundMoney(String refundMoney) {
        this.refundMoney = refundMoney;
    }

    public String getRefundPrice() {
        return refundPrice;
    }

    public void setRefundPrice(String refundPrice) {
        this.refundPrice = refundPrice;
    }

    public String getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(String totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getFinalPrice() {
        return finalPrice;
    }

    public void setFinalPrice(String finalPrice) {
        this.finalPrice = finalPrice;
    }

    public String getCommoIcon() {
        return commoIcon;
    }

    public void setCommoIcon(String commoIcon) {
        this.commoIcon = commoIcon;
    }

    public String getCommoName() {
        return commoName;
    }

    public void setCommoName(String commoName) {
        this.commoName = commoName;
    }

    public Integer getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Integer buyerId) {
        this.buyerId = buyerId;
    }

    public void setRightId(Long rightId)
    {
        this.rightId = rightId;
    }

    public Long getRightId() 
    {
        return rightId;
    }

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public void setRefundType(Long refundType) 
    {
        this.refundType = refundType;
    }

    public Long getRefundType() 
    {
        return refundType;
    }

    public void setRefundStatus(Long refundStatus) 
    {
        this.refundStatus = refundStatus;
    }

    public Long getRefundStatus() 
    {
        return refundStatus;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setRefundNo(String refundNo) 
    {
        this.refundNo = refundNo;
    }

    public String getRefundNo() 
    {
        return refundNo;
    }

    public void setApplyTime(String applyTime)
    {
        this.applyTime = applyTime;
    }

    public String getApplyTime()
    {
        return applyTime;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rightId", getRightId())
            .append("orderId", getOrderId())
            .append("refundType", getRefundType())
            .append("refundStatus", getRefundStatus())
            .append("status", getStatus())
            .append("refundNo", getRefundNo())
            .append("applyTime", getApplyTime())
            .append("remarks", getRemarks())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .toString();
    }
}
